﻿<UserControl x:Class="OnlineMovies.UserControls.AddQuizPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
               xmlns:inputtoolkit="clr-namespace:MarkHeath.StarRating;assembly=MarkHeath.StarRating"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
   d:DesignHeight="450" d:DesignWidth="450">

    <!--<Grid x:Name="LayoutRoot" Background="Black" >-->
    
            <Grid x:Name="gridpopup" Background="#424542" Opacity="1" Height="450" Width="450"  VerticalAlignment="Center">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <StackPanel Grid.Row="0" Orientation="Vertical" Margin="20,40,0,0">
                    <TextBlock x:Name="tbktitle" Text="Quiz Name" Margin="10,0,0,0" FontFamily="Segoe WP" FontSize="28" Foreground="{StaticResource PhoneForegroundBrush}" ></TextBlock>
                    <TextBox x:Name="tbxquizname"></TextBox>
                </StackPanel>
                <StackPanel Grid.Row="1" Orientation="Vertical" Margin="20,0,0,0">
                    <TextBlock x:Name="tblkrating" Text="Rating" Margin="10,0,0,0" FontFamily="Segoe WP" FontSize="28" Foreground="{StaticResource PhoneForegroundBrush}" ></TextBlock>
                    <inputtoolkit:StarRatingControl Name="rate" HorizontalAlignment="Left" Margin="5,20,0,0"  NumberOfStars="5" Height="50"  Width="200"  ></inputtoolkit:StarRatingControl>
                </StackPanel>
                <StackPanel Grid.Row="2" Orientation="Horizontal">
                    <Image Name="save" Source="/Images/rating/appbar.check.rest.png" Margin="120,50,0,0" MouseLeftButtonDown="save_MouseLeftButtonDown"></Image>
                    <Image Name="cancel" Source="/Images/rating/appbar.cancel.rest.png" Margin="80,50,0,0" MouseLeftButtonDown="cancel_MouseLeftButtonDown"></Image>
                </StackPanel>
            </Grid>

      
      
    <!--</Grid>-->
</UserControl>